import type { RequestConfig } from '@/api/request/types';
import { baseResponse} from '@/api/service'
// 其实Data 有开放传入接口 但是可以后边自己再定义也无妨
export interface loginRequestConfig<T, R> extends RequestConfig<baseResponse<R>> {
    data?: T
}

export interface loginUser {
    account: string,
    password: string,
}

export interface loginResponse {
    token: string,
    session: string,
}

export interface userRegister extends loginUser{
    name: string,
    sex: boolean,
    email? : string,
    address? : string,
    headerImg? : string,
}
